package com.viviet.mobileservices.dao;

import java.util.List;

import com.viviet.mobileservices.dao.entity.VMTransaction;

/**
 * A data access object (DAO) providing persistence and search support for
 * BoCashflow entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see .BoCashflow
 * @author MyEclipse Persistence Tools
 */

public interface IBoCashflowDAO {

	public void save(VMTransaction transientInstance);

	public void delete(VMTransaction persistentInstance);

	public VMTransaction findById(java.lang.String id);

	public List<VMTransaction> findByProperty(String propertyName, Object value);

	public List<VMTransaction> findByCustomerId(Object customerId);

	public List<VMTransaction> findByEventDate(Object eventDate);

	public List<VMTransaction> findByValueDate(Object valueDate);

	public List<VMTransaction> findByCashflowType(Object cashflowType);

	public List<VMTransaction> findByCashflowAmount(Object cashflowAmount);

	public List<VMTransaction> findByCashBalance(Object cashBalance);

	public List<VMTransaction> findByProductId(Object productId);

	public List<VMTransaction> findByCurrencyCode(Object currencyCode);

	public List<VMTransaction> findByRate(Object rate);

	public List<VMTransaction> findByTax(Object tax);

	public List<VMTransaction> findBySourceType(Object sourceType);

	public List<VMTransaction> findBySourceId(Object sourceId);

	public List<VMTransaction> findByActiveFlag(Object activeFlag);

	public List<VMTransaction> findAll();

	public VMTransaction merge(VMTransaction detachedInstance);

	public void attachDirty(VMTransaction instance);

	public void attachClean(VMTransaction instance);
}